#!/bin/sh

# remove all broken links
find -L /etc/ssl/certs -maxdepth 1 -type l -exec rm -- {} + || :

# remove leftover
rm -f /etc/ssl/certs/ca-certificates.crt || :

# remove the dir itself
[ -d /etc/ssl/certs ] && rmdir /etc/ssl/certs || :
